InitiateTransferOwnershipOnWorkFlow function
User-definable function to initiate document ownership transfer to a specified person when a specific workflow transition occurs.
Declaration syntax
Function InitiateTransferOwnershipOnWorkFlow(Person, Type, Details)
Parameters
Name | Description |
---|---|
Person |
The name of the person to which to transfer ownership. |
Type |
Workflow type upon which to transfer ownership: 0 – Document type workflow transition or start Quick Change |
Details |
Details of the workflow upon which to transfer ownership based on the value of Type: 0 – The new state of the document specified as one of the DocumentWorkFlowFlags (AS_WF_STATE) constants |
Return Value
The GCF share name that ownership will be transferred to or an empty string if no transfer will be initiated.